package com.cetcs.kmga.dataManager.dao.mybatis;

import com.cetcs.kmga.common.Data;
import com.cetcs.kmga.dataManager.entity.dataManager.DataResourceCode;
import com.cetcs.kmga.dataManager.entity.device.DeviceAuditObjTypevers;
import com.cetcs.kmga.dataManager.entity.device.DeviceManufacturerIdentifier;
import com.cetcs.kmga.dataManager.entity.device.DeviceTypeIdentifier;
import com.cetcs.kmga.dataManager.entity.global.CodeAndValue;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 码表操作Mapper
 * Created by yyangs on 2017/8/23 0021.
 */
@Repository
public interface CodeTableManagerMapper {

    //查询所有的 设备类型编码
    List<DeviceTypeIdentifier> getAllDeviceTypeIdentifiersByCondition(Data dataMap) throws Exception;
    //查询所有的 设备厂商编码
    List<DeviceManufacturerIdentifier> getAllDeviceManufacturerIdentifiersByCondition(Data dataMap) throws Exception;

    //查询审计对象类型码表 通过条件
    DeviceAuditObjTypevers getDeviceAuditObjTypeversByCondition(Data dataMap) throws Exception;

    //查询所有的 资源类型编码
    List<DataResourceCode> getAllResourceTypeByCondition(Data dataMap) throws Exception;
}
